package com.eol.entity.dto.wx;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * WechatUserAuthDto
 *
 * @author liulinhui
 * @email 1249055292@qq.com
 * @date 2020/6/1 22:39
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class WechatUserAuthDto implements Serializable {

    private static final long serialVersionUID = 1L;

    //网页授权接口调用凭证,注意：此access_token与基础支持的access_token不同
    private String access_token;

    //	access_token接口调用凭证超时时间，单位（秒）
    private int expires_in;

    //用户刷新access_token
    private String refresh_token;

    //用户唯一标识
    private String openid;

    //用户授权的作用域，使用逗号（,）分隔
    private String scope;

}
